package mydb.backend.utils;

/**
 * @author Fang Ruichuan
 * @date 2023-03-19 19:19
 */

public class Types {
    public static long addressToUid(int pgno, short offset) {
        long u0 = (long) pgno;
        long u1 = (long) offset;
        return u0 << 32 | u1;
    }
}
